package com.chixing.day07_adstract;

public class FatherTest {
    public static void main(Str[] args) {
       Son s1= new Son();
       s1.fun1(); //父类继承
       s1.fun2(); //父类继承
       s1.s1();
       s1.s2();

       Father father=new Son();
       father.fun1();
        father.fun2();
        father.hashCode(); //父类继承

        father.fun3(); //编译的时候  调用的是父类的  运行的是子类的


    }
}
